package cn.itcast.usermanage.result;

import java.util.List;

/**
 * easyUI的数据表对象
 * @author wang
 *
 * @param <T>
 */
public class DataGridResult<T> {
	//总条数
	private Long total;
	private List<T> rows;
	public DataGridResult() {
	}
	
	public DataGridResult(Long total, List<T> rows) {
		this.total = total;
		this.rows = rows;
	}

	public Long getTotal() {
		return total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	
}
